package com.ktwlsoft.archivemanage.payload.mendList;

import com.ktwlsoft.archivemanage.domain.dao.entity.NotifySet;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

@Getter
@Setter
public class NotifySetRequest {

    @ApiModelProperty("周期")
    @NotNull
    private Integer period;

    @ApiModelProperty("单位（月MONTH或日DAY）")
    @NotNull
    private NotifySet.PeriodUnit unit;
}
